package com.example.mapper;

import com.example.entity.Financial;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface FinancialMapper {

    List<Financial> selectAll(Financial financial);

    void insert(Financial financial);

    void updateById(Financial financial);

    @Delete("delete from `financial` where id = #{id}")
    void deleteById(Integer id);
}